#!/usr/bin/env python
'''
This file is used as repository for configuration
'''

__cfg = {
        'title':        'BeerCoaster manager',
        'version':      '0.1',
        'icon_path':    'img/beer-stein_32.png',
        }

def get_config(conf_name):
    '''Return a config value'''
    try:
        return __cfg[conf_name];
    except:
        return None

def set_config(conf_name, conf_value):
    '''Set a config value'''
    __cfg[conf_name] = conf_value


